]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensionPrefs: Fix extension list width
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 13 Sep 2016 20:17:20 +0000 (22:17 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 14 Sep 2016 07:18:23 +0000 (09:18 +0200)
ScrolledWindow changed its allocation behavior, and the extension
list only takes up the minimum width rather than the available
width as intended. To get the previous behavior back, we need
to set the newly added :propagate-natural-width property ...

https://bugzilla.gnome.org/show_bug.cgi?id=771391

js/extensionPrefs/main.js

index c27bfdd1de1f2c24c564d3ebc423f2ab24ee9b7b..cdfce787050e6e8f9cf526b199ea9cecae87e73c 100644 (file)
@@ -152,6 +152,7 @@ const Application = new Lang.Class({
         let scroll = new Gtk.ScrolledWindow({ hscrollbar_policy: Gtk.PolicyType.NEVER,
                                               shadow_type: Gtk.ShadowType.IN,
                                               halign: Gtk.Align.CENTER,
+                                              propagate_natural_width: true,
                                               margin: 18 });
         this._window.add(scroll);